package com.mindata.blockchain.socket.body.rpc;

import com.mindata.blockchain.block.block.DGLBlock;
import com.mindata.blockchain.socket.body.base.BaseBody;

public class RpcDGLBlockBody extends BaseBody {
    private DGLBlock dglBlock;

    public RpcDGLBlockBody() {
        super();
    }

    public RpcDGLBlockBody(DGLBlock dglBlock) {
        super();
        this.dglBlock = dglBlock;
    }

    public DGLBlock getDglBlock() {
        return dglBlock;
    }

    public void setDglBlock(DGLBlock dglBlock) {
        this.dglBlock = dglBlock;
    }

    @Override
    public String toString() {
        return "RpcDGLBlockBody{" +
                "dglBlock=" + dglBlock +
                '}';
    }
}
